package com.example.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("agent")
public class HeartbeatController {

	@GetMapping("/register")
	public String register() {
		return "register success";
	}
	
	@GetMapping("/heartbeat")
	public String heartbeat() {
		return "heartbeat success";
	}
}
